package com.qr.dao;

import com.qr.pojo.Buy;

import java.util.List;

public interface BuyMapper {
    //增加一个Buy
    int addBuy(Buy buy);

    //根据id删除一个Buy
    int deleteBuy(int buyid);

    //更新Buy
    int updateBuy(Buy buy);

    //根据id查询,返回一个Buy
    Buy SelectBuy(int buyid);

    //查询全部Buy,返回list集合
    List<Buy> AllBuy();

}
